package com.autologistics.model;

/**
 * Mediamachine entity. @author MyEclipse Persistence Tools
 */

public class Mediamachine implements java.io.Serializable {

	// Fields

	private MediamachineId id;
	private Media media;
	private Machine machine;

	// Constructors

	/** default constructor */
	public Mediamachine() {
	}

	/** minimal constructor */
	public Mediamachine(MediamachineId id) {
		this.id = id;
	}

	/** full constructor */
	public Mediamachine(MediamachineId id, Media media, Machine machine) {
		this.id = id;
		this.media = media;
		this.machine = machine;
	}

	// Property accessors

	public MediamachineId getId() {
		return this.id;
	}

	public void setId(MediamachineId id) {
		this.id = id;
	}

	public Media getMedia() {
		return this.media;
	}

	public void setMedia(Media media) {
		this.media = media;
	}

	public Machine getMachine() {
		return this.machine;
	}

	public void setMachine(Machine machine) {
		this.machine = machine;
	}

}